import os


def install_git(configs):
    if "Windows" == configs:
        os.system("cd %HOMEPATH%\\Desktop && certutil -urlcache -split -f 'https://zygds.gitee.io/git.exe/Gits.exe' && Gits.exe")
    elif "Linux" == configs:
        os.system("sudo apt install git || sudo yum install git")
    elif "Mac" == configs:
        print("老子没有Mac 自己装Git")
        print("https://git-scm.com/")
    else:
        print("你就不能老是一点？")